home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 September / CHIP Eylül 1998.iso / Slackwar / docs / mini / RPM+Slackware < prev    next >
Text File  |  1997-10-07  |  2KB  |  63 lines

  1.   RPM+Slackware Mini-Howto
  2.   Dave Whitinger, wolf@redhat.com
  3.   v1.0, 29 August 1997
  4.  
  5.   This document describes how to get RPM installed and working properly
  6.   under Slackware.  The information contained herein, however, is proba¡
  7.   bly applicable to any Linux distribution.
  8.  
  9.   1.  Introduction
  10.  
  11.   I've been asked many many times how to use RPM under Slackware.
  12.   Enough was enough, so today I decided that creating this document
  13.   might be a good idea.
  14.  
  15.   RPM is the "Red Hat Package Manager" and is the heart of the Red Hat
  16.   Linux distribution.  It's most basic functionality is to install and
  17.   de-install packages.  Check out the RPM-HOWTO, or get a copy of
  18.   "Maximum RPM" for more information on using RPM.
  19.  
  20.   This document is geared toward installing RPM on a Slackware system
  21.   using an Intel processor, but the information contained herein can
  22.   easily be applied to any distribution using any processor type.
  23.  
  24.   2.  Obtaining the software
  25.  
  26.   The newest release of RPM is always available from:
  27.  
  28.        ftp.rpm.org/pub/rpm/dist/latest
  29.  
  30.   As of this writing, the latest version was
  31.  
  32.        rpm-2.4.5-1.i386.tar.gz
  33.  
  34.   Notice the .i386 section.  This means that it is a binary package for
  35.   the Intel architecture, ready to untar and run.  Make sure that the
  36.   file you download has the i386 in the filename, otherwise the
  37.   following instructions will not work.
  38.  
  39.   3.  Installing the software
  40.  
  41.   You must be root to accomplish the next steps.
  42.  
  43.   You must then untar the package from the root directory.  Here are the
  44.   instructions for doing so:
  45.  
  46.                cd /
  47.                tar zxvpf /home/wolf/rpm-2.4.5-1.i386.tar.gz
  48.  
  49.   Of course, replace the /home/wolf with the correct path for the
  50.   filename.
  51.  
  52.   Next, you have to create a directory called "rpm" under the /var/lib
  53.   tree.
  54.  
  55.   mkdir /var/lib/rpm
  56.  
  57.   Now type 'rpm --initdb' to initialize the rpm database.
  58.  
  59.   If everything has gone correctly up to this point, you will have a
  60.   rpm-capable system!  Test it out by grabbing any rpm file and
  61.   installing it with 'rpm -Uvh filename.rpm'
  62.  
  63.